<?php namespace Common\Controller;
/**
 * 后台公共管理控制器
 * Created by PhpStorm.
 * User: 武 斌
 * Date: 2016/12/13
 * Time: 14:17
 */
class AdminController extends BaseController
{
	public function __construct()
	{
		parent::__construct();
		if(!session('adminUsr')){
			redirect('http://c78_chengyang.52tty.com/XM/index.php/admin/login/index');
		}else{
			$adminUsr = session('adminUsr');
			$this->assign('adminUsr',$adminUsr);
		}
	}
}